package com.finalist.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.finalist.dao.AreaStandardCodeDao;
import com.finalist.entity.AreaStandardCode;
import com.finalist.service.AreaStandardCodeService;

@Service("areaStandardCodeServiceImpl")
public class AreaStandardCodeServiceImpl extends BaseServiceImpl<AreaStandardCode, Long> implements AreaStandardCodeService{
	@Resource(name = "areaStandardCodeDaoImpl")
	private AreaStandardCodeDao areaStandardCodeDao;

	@Resource(name = "areaStandardCodeDaoImpl")
	public void setBaseDao(AreaStandardCodeDao areaStandardCodeDao){
		super.setBaseDao(areaStandardCodeDao);
	}
	
	@Override
	public String findAreaCode(String areaLevel, String areaName) {
		
		return areaStandardCodeDao.findAreaCode(areaLevel, areaName);
	}

}
